﻿2026-06-09T03:01:53.9527989Z ##[group]Run cargo test --workspace
2026-06-09T03:01:53.9528320Z [36;1mcargo test --workspace[0m
2026-06-09T03:01:53.9602814Z shell: /usr/bin/bash -e {0}
2026-06-09T03:01:53.9603039Z ##[endgroup]
2026-06-09T03:01:54.6427886Z     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s
2026-06-09T03:01:54.6633983Z      Running unittests src/main.rs (target/debug/deps/mock_session-684f748aa1678b1c)
2026-06-09T03:01:54.6664510Z 
2026-06-09T03:01:54.6664815Z running 0 tests
2026-06-09T03:01:54.6665096Z 
2026-06-09T03:01:54.6665372Z test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
2026-06-09T03:01:54.6665754Z 
2026-06-09T03:01:54.6666532Z      Running unittests src/shell.rs (target/debug/deps/mock_shell-aec0640989f9eadd)
2026-06-09T03:01:54.6689951Z 
2026-06-09T03:01:54.6690242Z running 0 tests
2026-06-09T03:01:54.6707933Z 
2026-06-09T03:01:54.6708382Z test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
2026-06-09T03:01:54.6708876Z 
2026-06-09T03:01:54.6709202Z      Running tests/manifest_valid.rs (target/debug/deps/manifest_valid-557f0a88e47f7361)
2026-06-09T03:01:54.6724896Z 
2026-06-09T03:01:54.6725005Z running 3 tests
2026-06-09T03:01:54.6776747Z test mock_manifest_parses_and_validates ... ok
2026-06-09T03:01:54.6777229Z test mock_has_no_claude_code_conventions ... ok
2026-06-09T03:01:54.6777607Z test mock_declares_commune_signoff_as_filedrops ... ok
2026-06-09T03:01:54.6777869Z 
2026-06-09T03:01:54.6778116Z test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
2026-06-09T03:01:54.6778460Z 
2026-06-09T03:01:54.6780024Z      Running unittests src/main.rs (target/debug/deps/spt-d20e5b43914001ca)
2026-06-09T03:01:54.6807302Z 
2026-06-09T03:01:54.6807520Z running 105 tests
2026-06-09T03:01:54.6819258Z test api::auth::tests::mints_distinct_nonempty_tokens ... ok
2026-06-09T03:01:54.6819838Z test api::delivery::tests::inject_resolution_drops_pty_defaults_hook ... ok
2026-06-09T03:01:54.6820415Z test api::delivery::tests::inject_all_pty_falls_back_to_hook ... ok
2026-06-09T03:01:54.6820890Z test api::auth::tests::missing_endpoint_is_no_endpoint ... ok
2026-06-09T03:01:54.6821369Z test api::reporting::tests::capability_lists_hostable_types ... ok
2026-06-09T03:01:54.6821868Z test api::reporting::tests::env_aliases_resolved_from_manifest ... ok
2026-06-09T03:01:54.6822356Z test api::reporting::tests::filedrops_are_fixed_named_files ... ok
2026-06-09T03:01:54.6822821Z test api::auth::tests::no_proof_is_refused ... ok
2026-06-09T03:01:54.6825037Z test api::reporting::tests::history_log_appends ... ok
2026-06-09T03:01:54.6828560Z test api::auth::tests::token_proof_authenticates ... ok
2026-06-09T03:01:54.6832142Z test api::auth::tests::wrong_token_and_wrong_session_refused ... ok
2026-06-09T03:01:54.6833991Z test api::delivery::tests::echo_gate_explicit_toggle ... ok
2026-06-09T03:01:54.6836091Z test api::delivery::tests::idle_busy_transitions_manage_sentinels ... ok
2026-06-09T03:01:54.6838018Z test api::delivery::tests::idle_no_gate_does_not_arm_gate ... ok
2026-06-09T03:01:54.6999156Z test api::delivery::tests::poll_drain_holds_deferred_while_resting_and_releases_once_on_wake ... ok
2026-06-09T03:01:54.7137523Z test api::delivery::tests::poll_drains_non_deferred_by_default ... ok
2026-06-09T03:01:54.7327324Z test api::reporting::tests::boundary_missing_perch_refused ... ok
2026-06-09T03:01:54.7332249Z test api::reporting::tests::boundary_injects_deferred_shell_context ... ok
2026-06-09T03:01:54.7384724Z test api::reporting::tests::boundary_rebinds_keeping_anchor ... ok
2026-06-09T03:01:54.7395844Z test api::tests::adapter_is_required ... ok
2026-06-09T03:01:54.7407358Z test api::tests::state_value_is_validated ... ok
2026-06-09T03:01:54.7442005Z test api::tests::surface_parses ... ok
2026-06-09T03:01:54.7630230Z test api::reporting::tests::boundary_resurfaces_undismissed_notifs ... ok
2026-06-09T03:01:54.7633968Z test api::reporting::tests::driven_by_reads_daemon_marker ... ok
2026-06-09T03:01:54.7640429Z test api::auth::tests::session_id_proof_authenticates ... ok
2026-06-09T03:01:54.7641914Z test api::reporting::tests::presence_records_endpoint ... ok
2026-06-09T03:01:54.7650903Z test api::reporting::tests::session_end_erase_refused_with_live_children ... ok
2026-06-09T03:01:54.7692372Z test cli::tests::access_subcommands_parse ... ok
2026-06-09T03:01:54.7717173Z test cli::tests::adapter_subcommands_parse ... ok
2026-06-09T03:01:54.7720308Z test cli::tests::create_existing_name_is_usage_error ... ok
2026-06-09T03:01:54.7723222Z test cli::tests::create_new_existing_name_is_usage_error ... ok
2026-06-09T03:01:54.7731272Z test api::reporting::tests::session_end_erase_wipes_childless_perch ... ok
2026-06-09T03:01:54.7733398Z test cli::tests::create_not_elevated_refuses_without_saving ... ok
2026-06-09T03:01:54.7810519Z test api::reporting::tests::session_end_soft_preserves_state ... ok
2026-06-09T03:01:54.7825717Z test cli::tests::create_new_mints_shows_and_requests_save ... ok
2026-06-09T03:01:54.7831452Z test cli::tests::daemon_subcommands_parse ... ok
2026-06-09T03:01:54.7832010Z test cli::tests::digest_flag_defaults ... ok
2026-06-09T03:01:54.7832410Z test cli::tests::empty_store_no_flag_guides_to_pair_or_create ... ok
2026-06-09T03:01:54.7832912Z test cli::tests::escalation_choice_parses_fail_closed ... ok
2026-06-09T03:01:54.7837851Z test cli::tests::create_prints_joining_material_when_elevated ... ok
2026-06-09T03:01:54.7863405Z test cli::tests::grant_subcommands_parse ... ok
2026-06-09T03:01:54.7891062Z test cli::tests::endpoint_subcommands_parse ... ok
2026-06-09T03:01:54.7891950Z test cli::tests::help_groups_cover_every_command ... ok
2026-06-09T03:01:54.7896686Z test api::startup::tests::bind_assigns_home_and_revive_preserves_it ... ok
2026-06-09T03:01:54.7902634Z test cli::tests::how_to_topics_cover_ready_and_send ... ok
2026-06-09T03:01:54.7903078Z test cli::tests::join_gate_refuses_without_confirmed_elevation ... ok
2026-06-09T03:01:54.7908417Z test cli::tests::invalid_usage_errors ... ok
2026-06-09T03:01:54.7909846Z test cli::tests::node_level_label_names_an_endpointless_peer ... ok
2026-06-09T03:01:54.7910523Z test cli::tests::node_rows_disambiguate_only_on_label_collision ... ok
2026-06-09T03:01:54.7911906Z test cli::tests::node_status_rows_settle_cheap_signals_probe_only_stale ... ok
2026-06-09T03:01:54.7913700Z test cli::tests::not_elevated_refuses_without_leaking_code_or_saving ... ok
2026-06-09T03:01:54.7916677Z test cli::tests::notify_subnet_resolution_home_default ... ok
2026-06-09T03:01:54.7939225Z test cli::tests::notify_surface_parses ... ok
2026-06-09T03:01:54.7943872Z test cli::tests::hot_path_flat_and_moved_verbs_gone ... ok
2026-06-09T03:01:54.7950982Z test api::startup::tests::empty_session_seed_refused ... ok
2026-06-09T03:01:54.7953941Z test cli::tests::pair_namespace_is_gone ... ok
2026-06-09T03:01:54.8002881Z test cli::tests::multi_subnet_refuses_without_flag_then_resolves_with_it ... ok
2026-06-09T03:01:54.8018695Z test api::startup::tests::live_perch_under_other_session_conflicts ... ok
2026-06-09T03:01:54.8019211Z test cli::tests::prune_candidates_resolve_never_guess ... ok
2026-06-09T03:01:54.8027299Z test cli::tests::ring_timeout_defaults ... ok
2026-06-09T03:01:54.8076171Z test api::startup::tests::missing_seed_refused ... ok
2026-06-09T03:01:54.8086031Z test cli::tests::send_target_optional_with_reply_to ... ok
2026-06-09T03:01:54.8128446Z test api::startup::tests::post_spawn_bind_establishes_perch ... ok
2026-06-09T03:01:54.8186179Z test api::startup::tests::rebind_same_session_ok ... ok
2026-06-09T03:01:54.8243940Z test api::startup::tests::stale_seed_with_dead_anchor_refused ... ok
2026-06-09T03:01:54.8311874Z test api::startup::tests::valid_seed_binds_live_perch ... ok
2026-06-09T03:01:54.8321911Z test api::worker::tests::cascade_guard_tracks_live_children ... ok
2026-06-09T03:01:54.8335253Z test api::worker::tests::guard_clears_only_when_all_children_stopped ... ok
2026-06-09T03:01:54.8399590Z test cli::tests::shell_subcommands_parse ... ok
2026-06-09T03:01:54.8510581Z test cli::tests::show_code_prints_reprovisioning_material ... ok
2026-06-09T03:01:54.8529937Z test cli::tests::run_bounded_yields_value_or_timeout_default ... ok
2026-06-09T03:01:54.8548904Z test api::worker::tests::worker_poll_drains_spool ... ok
2026-06-09T03:01:54.8578921Z test cli::tests::subcommands_parse ... ok
2026-06-09T03:01:54.8624405Z test cli::tests::single_subnet_auto_selects_and_code_matches_seed ... ok
2026-06-09T03:01:54.8627892Z test cli::tests::subnet_status_renders_rows_and_hints_never_secrets ... ok
2026-06-09T03:01:54.8628502Z test cli::tests::subnets_joined_banner_renders_rows_and_divider ... ok
2026-06-09T03:01:54.8628940Z test cli::tests::trust_mutation_gate_refuses_without_confirmed_elevation ... ok
2026-06-09T03:01:54.8631220Z test cli::tests::unknown_elevation_falls_back ... ok
2026-06-09T03:01:54.8633673Z test cli::tests::unknown_named_subnet_is_usage_error ... ok
2026-06-09T03:01:54.8634217Z test elevation::tests::admin_terminal_style_has_no_command_prefix ... ok
2026-06-09T03:01:54.8634875Z test elevation::tests::auto_elevate_only_when_unix_interactive_and_unelevated ... ok
2026-06-09T03:01:54.8635428Z test elevation::tests::current_returns_a_determinate_level_on_supported_platforms ... ok
2026-06-09T03:01:54.8636118Z test elevation::tests::fallback_message_names_authenticator_app_and_subnet ... ok
2026-06-09T03:01:54.8636678Z test elevation::tests::gate_shows_only_when_confirmed_elevated ... ok
2026-06-09T03:01:54.8637690Z test elevation::tests::sudo_rerun_shell_quotes_spaced_args ... ok
2026-06-09T03:01:54.8638142Z test elevation::tests::sudo_rerun_uses_absolute_path_not_bare_name ... ok
2026-06-09T03:01:54.8642243Z test wansend::tests::load_snapshots_degrades_on_junk ... ok
2026-06-09T03:01:54.8643302Z test wansend::tests::refusals_render_copy_paste_targets ... ok
2026-06-09T03:01:54.8651600Z test cli::tests::subnet_arg_shapes_parse ... ok
2026-06-09T03:01:54.8651962Z test api::worker::tests::worker_poll_holds_deferred_while_resting ... ok
2026-06-09T03:01:54.8656171Z test api::worker::tests::worker_start_nests_under_parent ... ok
2026-06-09T03:01:54.9509875Z test cli::tests::probe_all_timeout_settles_false_without_stalling_batch ... ok
2026-06-09T03:01:54.9966352Z test cli::tests::probe_all_runs_concurrently_in_input_order ... ok
2026-06-09T03:01:55.2985138Z test cli::tests::probe_all_cap_batches_into_windows ... ok
2026-06-09T03:01:55.3354887Z test cli::tests::fork_forks_homes_and_deletes_exactly_the_source ... ok
2026-06-09T03:01:55.3466601Z Failed to connect to bus: No medium found
2026-06-09T03:01:55.3512764Z Failed to connect to bus: No medium found
2026-06-09T03:01:55.3543878Z Failed to connect to bus: No medium found
2026-06-09T03:01:55.3582866Z test cli::tests::owner_shutdown_gated_by_can_shutdown_grant ... ok
2026-06-09T03:01:55.3938979Z test cli::tests::shell_channels_relay_sensory_and_text_file ... ok
2026-06-09T03:01:55.3979886Z test cli::tests::shell_owner_exclusivity_negatives ... ok
2026-06-09T03:01:55.4004012Z test cli::tests::shell_relink_relaunches_offline_instances_only ... ok
2026-06-09T03:01:55.4222920Z test cli::tests::shell_spawn_approval_floor_gates ... ok
2026-06-09T03:01:55.4327518Z test cli::tests::shell_spawn_cap_and_over_cap_gates ... ok
2026-06-09T03:01:55.4380410Z Failed to connect to bus: No medium found
2026-06-09T03:01:55.4409123Z Failed to connect to bus: No medium found
2026-06-09T03:01:55.4458227Z test cli::tests::shell_spawn_gates_on_the_registered_set ... ok
2026-06-09T03:01:55.4462238Z test cli::tests::shutdown_soft_stops_and_suspends ... ok
2026-06-09T03:01:55.6017372Z test wansend::tests::remote_rest_suspends_and_wakes_with_the_deferred_gate ... ok
2026-06-09T03:01:55.6547787Z test wansend::tests::wan_send_ships_to_the_resolved_node ... ok
2026-06-09T03:01:55.6548320Z 
2026-06-09T03:01:55.6548725Z test result: ok. 105 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.97s
2026-06-09T03:01:55.6549203Z 
2026-06-09T03:01:55.6595421Z      Running tests/contract_e2e.rs (target/debug/deps/contract_e2e-f4534acf2c76bba1)
2026-06-09T03:01:55.6612386Z 
2026-06-09T03:01:55.6612625Z running 4 tests
2026-06-09T03:01:55.6816096Z test cold_api_call_autostarts_daemon_and_handoff_is_in_memory ... FAILED
2026-06-09T03:01:55.6944488Z SEEDED:569763
2026-06-09T03:01:56.1274819Z test live_agent_lifecycle_e2e ... ok
2026-06-09T03:01:56.2029008Z test mock_adapter_drives_the_full_contract ... ok
2026-06-09T03:01:56.2212847Z SEEDED:569763
2026-06-09T03:01:56.4488019Z test seed_then_listen_binds_and_relays ... ok
2026-06-09T03:01:56.4488530Z 
2026-06-09T03:01:56.4488712Z failures:
2026-06-09T03:01:56.4488944Z 
2026-06-09T03:01:56.4489263Z ---- cold_api_call_autostarts_daemon_and_handoff_is_in_memory stdout ----
2026-06-09T03:01:56.4489736Z 
2026-06-09T03:01:56.4490278Z thread 'cold_api_call_autostarts_daemon_and_handoff_is_in_memory' (569764) panicked at crates/spt/tests/contract_e2e.rs:465:5:
2026-06-09T03:01:56.4491247Z cold api seed must auto-start the daemon and seed: ExitStatus(unix_wait_status(256))
2026-06-09T03:01:56.4491848Z Failed to connect to bus: No medium found
2026-06-09T03:01:56.4492482Z DAEMON_START_WARN: systemctl --user start spt-daemon.service failed (exit status: 1)
2026-06-09T03:01:56.4493103Z Failed to connect to bus: No medium found
2026-06-09T03:01:56.4493770Z SEED_FAIL:569763: daemon unavailable: systemctl --user start spt-daemon.service failed (exit status: 1)
2026-06-09T03:01:56.4494337Z 
2026-06-09T03:01:56.4494652Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2026-06-09T03:01:56.4495106Z 
2026-06-09T03:01:56.4495141Z 
2026-06-09T03:01:56.4495270Z failures:
2026-06-09T03:01:56.4495636Z     cold_api_call_autostarts_daemon_and_handoff_is_in_memory
2026-06-09T03:01:56.4496003Z 
2026-06-09T03:01:56.4496390Z test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s
2026-06-09T03:01:56.4496938Z 
2026-06-09T03:01:56.4497399Z error: test failed, to rerun pass `-p spt --test contract_e2e`
2026-06-09T03:01:56.4616792Z ##[error]Process completed with exit code 101.
